package com.im.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


/**
 * @auther Zeng
 * @date 2023/7/11 - 19:50
 */
@FeignClient(name = "im-dynamic", path = "/dynamic/article")
//@Service
public interface DynamicService {

    @GetMapping("/list")
    public List list(Integer id);

}

